package com.ddwl.schema.vo.wallet;

import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;

/**
 * 用户账单
 *
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2020/3/10 18:11
 */
@Setter
@Getter
public class BillVo {

    /**
     * 账单ID
     */
    private String id;
    /**
     * 商户ID
     */
    private String mchId;
    /**
     * 门店ID
     */
    private String shopId;
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 帐单标题
     */
    private String title;
    /**
     * 订单ID
     */
    private String orderId;
    /**
     * 支付ID
     */
    private String payId;
    /**
     * 账单类目
     */
    private Byte type;
    /**
     * 金额
     */
    private BigDecimal amount;
    /**
     * 当前余额
     */
    private BigDecimal balance;
    /**
     * 当前返现
     */
    private BigDecimal recash;
    /**
     * 当前返佣
     */
    private BigDecimal rebate;
    /**
     * 创建时间
     */
    private Instant gmtCreated;
}
